package demo1;

import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: xiaotutu
 * Date: 2023-11-07
 * Time: 11:19
 */



public class TestUSB {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.powerOn();
        System.out.println("==========");
        computer.useDevice(new Mouse());

        computer.useDevice(new earPhone());

        computer.useDevice(new keyBoard());

        computer.powerOff();
    }

}
